package com.funmi.lizip.entity.dto.taskDelivery;

import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.funmi.lizip.common.base.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author itheima
 */
@Data
@ApiModel(value = "TaskDeliveryQueryRequest", description = "输入条件查询")
@TableName(value = "task_delivery",autoResultMap = true)
@HeadStyle(fillForegroundColor = 5)
public class TaskDeliveryQueryRequest extends PageRequest implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "任务表id")
    @TableField("task_id")
    private Integer taskId;

//    @ApiModelProperty(value = "任务名称")
//    @TableField("task_name")
//    private String taskName;

//    @ApiModelProperty(value = "任务描述")
//    @TableField("task_description")
//    private String taskDescription;

//    @ApiModelProperty(value = "填写内容")
//    @TableField("content")
//    private String content;

//
//    @ApiModelProperty(value = "选项(多个)")
//    @TableField(value = "map_options",typeHandler = ObjectJsonHandler.class)
//    private JSONObject mapOptions;


    @ApiModelProperty(value = "任务接收对象	")
    @TableField("accept_user")
    private String acceptUser;
//
    @ApiModelProperty(value = "任务状态")
    @TableField("status")
    private String status;
//
//    @ApiModelProperty(value = "创建时间")
//    @TableField("create_at")
//    private LocalDateTime createAt;
//
//    @ApiModelProperty(value = "接收时间")
//    @TableField("accept_at")
//    private LocalDateTime acceptAt;

//    @ApiModelProperty(value = "结束时间")
//    @TableField("end_at")
//    private LocalDateTime endAt;
//
//    @ApiModelProperty(value = "结果描述	")
//    @TableField("end_description")
//    private String endDescription;

//    @ApiModelProperty(value = "是否删除")
//    @TableField("is_delete")
//    private Boolean isDelete;


}
